﻿using System;
using System.Collections;
using System.Text;

namespace MPMovieCatalog.Domain
{
    [Serializable()]
    public class Share
    {
        private ArrayList m_children = new ArrayList();

        public Share() { }

        public Share(string name, string path)
        {
            Name = name;
            Path = path;
        }

        public string Name { get; set; }

        public string Path { get; set; }

        public ArrayList Children
        {
            get
            {
                return m_children;
            }
            set
            {
                m_children = value;
            }
        }

        public void AddChild(Share share)
        {
            m_children.Add(share);
        }
    }
}
